Automattic\WooCommerce\GoogleListingsAndAds\API\Google\Settings S

Total Complexity 45
Dependencies 15
Dependents 7
Total lines 396
Lines of code 188
Logical lines of code 104
Comment lines 146
Methods 24
Properties 1

Methods 24

Method Rating Maintainability Complexity Lines of code
get_store_address()
A
51 12 23
sync_shipping()
S
55 4 20
maybe_get_state_name()
S
62 4 11
create_main_service()
S
54 2 22
sync_taxes()
S
58 2 17
create_rate_group_object()
S
58 1 17
should_sync_taxes()
S
70 2 6
get_times()
S
66 2 8
__construct()
S
81 1 3
get_store_state()
S
76 1 4
get_store_country()
S
76 1 4
get_shopping_service()
S
80 1 3
get_account_id()
S
81 1 3
get_merchant_id()
S
80 1 3
get_free_shipping_minimum()
S
79 1 3
create_free_shipping_service()
S
66 1 8
get_options_object()
S
80 1 3
has_free_shipping_option()
S
78 1 3
create_rate_groups()
S
79 1 3
create_time_object()
S
67 1 8
get_rates()
S
76 1 4
get_taxes()
S
72 1 6
should_sync_shipping()
S
79 1 3
get_settings()
S
80 1 3